package com.itzdm.client.config;

import com.itzdm.client.fallback.UserFallback;
import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * @作者：张德明
 * @时间：2025/4/6 12:54
 */
public class DefaultFeignConfig {
    @Bean
    public Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }


    @Bean
    public UserFallback feignUserFallback() {
        return new UserFallback();
    }
}
